package com.woniu.service;

import com.woniu.entity.Staff;
import com.woniu.utils.ResponseUtil;
import org.apache.ibatis.annotations.Param;

public interface StaffService {
    ResponseUtil selectAll(Integer pageNum,Integer pageSize);
    ResponseUtil updateStaff(Integer id);
    ResponseUtil insertSelective(Staff record);
    ResponseUtil updateByPrimaryKeySelective(Staff record);
    ResponseUtil selectByCondition(String name, String deptName, String roomName,Integer pageNum,Integer pageSize);

    ResponseUtil login(String staffNo,String password)throws Exception;
    ResponseUtil findAll();

}
